package com.gitee.linzl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableDiscoveryClient
@EnableFeignClients
@SpringBootApplication
public class ZipkinServerApplication {
	public static void main(String[] args) {
		/**
		 * https://zipkin.io/pages/quickstart.html
		 * 
		 * https://github.com/openzipkin/zipkin/blob/master/zipkin-storage/mysql-v1/src/main/resources/mysql.sql
		 * 
		 * 官方建议使用zipkin.jar做为链路中心,不推荐自行定制编译
		 * 
		 * zipkin.jar集群+nginx
		 */
		SpringApplication app = new SpringApplication(ZipkinServerApplication.class);
		// app.setBannerMode(Banner.Mode.OFF);
		app.run(args);
	}
}
